package com.ruoyi.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.ExpLogMapper;
import com.ruoyi.system.domain.ExpLog;
import com.ruoyi.system.service.IExpLogService;

/**
 * 实验日志Service业务层处理
 * 
 * @author kk
 * @date 2023-06-20
 */
@Service
public class ExpLogServiceImpl implements IExpLogService 
{
    @Autowired
    private ExpLogMapper expLogMapper;

    /**
     * 查询实验日志
     * 
     * @param expID 实验日志主键
     * @return 实验日志
     */
    @Override
    public ExpLog selectExpLogByExpID(String expID)
    {
        return expLogMapper.selectExpLogByExpID(expID);
    }

    /**
     * 查询实验日志列表
     * 
     * @param expLog 实验日志
     * @return 实验日志
     */
    @Override
    public List<ExpLog> selectExpLogList(ExpLog expLog)
    {
        return expLogMapper.selectExpLogList(expLog);
    }

    /**
     * 新增实验日志
     * 
     * @param expLog 实验日志
     * @return 结果
     */
    @Override
    public int insertExpLog(ExpLog expLog)
    {
        return expLogMapper.insertExpLog(expLog);
    }

    /**
     * 修改实验日志
     * 
     * @param expLog 实验日志
     * @return 结果
     */
    @Override
    public int updateExpLog(ExpLog expLog)
    {
        return expLogMapper.updateExpLog(expLog);
    }

    /**
     * 批量删除实验日志
     * 
     * @param expIDs 需要删除的实验日志主键
     * @return 结果
     */
    @Override
    public int deleteExpLogByExpIDs(String[] expIDs)
    {
        return expLogMapper.deleteExpLogByExpIDs(expIDs);
    }

    /**
     * 删除实验日志信息
     * 
     * @param expID 实验日志主键
     * @return 结果
     */
    @Override
    public int deleteExpLogByExpID(String expID)
    {
        return expLogMapper.deleteExpLogByExpID(expID);
    }
}
